package com.blb.ioc.demo4.service;

import com.blb.ioc.demo4.dao.HelloDAO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class HelloServiceImpl implements HelloService{

    @Autowired
    private HelloDAO helloDAO;

    @Override
    public String hello() {
        return helloDAO.hello();
    }
}
